Programming With QuickTime Sprites

| Previous | Chapter Contents | Chapter Top | Next |

Sprite Track Formats

The following constants represent formats of a sprite track. The value of the constant indicates how override samples in a sprite track should be interpreted. You set a sprite track's format by creating a kSpriteTrackPropertySampleFormat atom.

enum {
    kKeyFrameAndSingleOverride      = 1L << 1,
    kKeyFrameAndAllOverrides        = 1L << 2
};

Constant descriptions

kKeyFrameAndSingleOverride
The current state of the sprite track is defined by the most recent key frame sample and the current override sample. This is the default format.
kKeyFrameAndAllOverrides
The current state of the sprite track is defined by the most recent key frame sample and all subsequent override samples up to and including the current override sample.

© 1998 Apple Computer, Inc.

| Previous | Chapter Contents | Chapter Top | Next |